#ifndef ADDWORK_H
#define ADDWORK_H
#include <QWidget>
#include <QSqlDatabase>
#include <QSqlDriver>
#include <QSqlQuery>
#include <QDebug>
#include <QSqlError>
#include <QMessageBox>
#include "pcb.h"

namespace Ui {
class addWork;
}

class addWork : public QWidget
{
    Q_OBJECT

public:
    explicit addWork(QWidget *parent = nullptr);
    ~addWork();

    void refreshAgain();

signals:
    void sendData(PCB *);

private slots:
    void on_submit_clicked();
    void on_retext_clicked();

private:
    Ui::addWork *ui;
};
#endif // ADDWORK_H

